<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<div class="container">

	<div id="carousel1" class="carousel slide">
		<div class="carousel-inner">
				<s:iterator value="picList" status="img">
					<s:if test="#img.index==0">
						<div class="item active">
							<img src="<s:property value="imageurl"/>" alt="<s:property value="title"/>">
							<div class="carousel-caption">
								<h4><s:property value="title"/></h4>
								<p><s:property value="description"/></p>
							</div>
						</div>
					</s:if>
					<s:else>
						<div class="item">
							<img src="<s:property value="imageurl"/>" alt="<s:property value="title"/>">
							<div class="carousel-caption">
								<h4><s:property value="title"/></h4>
								<p><s:property value="description"/></p>
							</div>
						</div>
					</s:else>
				</s:iterator>
					
				</div>
		<a href="#carousel1" data-slide="prev" class="left carousel-control">‹</a>
		<a href="#carousel1" data-slide="next" class="right carousel-control">›</a>
	</div>
	
	<div class="row">
	<h5 class="page-header" style="font-weight: normal;margin-top: 5px;margin-bottom: 5px">建议上传尺寸为940X360</h5>
		<s:iterator value="picList">
			<div class="span4">
			<img src="<s:property value="imageurl"/>" alt="<s:property value="title"/>" width="200px">
			<a href="javascript:void(0)" onclick="showDiv(<s:property value="id"/>)">编辑</a>
		</div>
		</s:iterator>
	</div>
</div>